/**
 * 
 */
package com.jm.web.tags.form;

import com.jm.web.builder.form.OrgBuilder;
import com.jm.web.tags.support.ValidateTag;

/**
 * @author yanjie
 * 組織架構圖標籤
 * 2011/9/29 下午1:01:10
 */
public class OrgTag extends ValidateTag{

	private static final long serialVersionUID = 8226411219588482054L;
	
	@Override
	protected int onStartTag() {
		if(this.getPage().isExport() && !this.isEp()){
			return SKIP_BODY;
		}
		return SKIP_BODY;
	}
	
	@Override
	public String getBuilderName() {
		return OrgBuilder.class.getName();
	}
	public void setHiddenValue(String strValue) {
		SetExtValue("hiddenvalue",strValue);
	}
	public void setOnPicked(String strValue) {
		SetExtValue("onPicked",strValue);
	}
	
	public void setSubOrg(String strValue) {
		SetExtValue("subOrg",strValue);
	}
	
	public void setHidden(String strValue) {
		SetExtValue("hidden",strValue);
	}
	
	public void setLock(Object obj) {
		SetExtValue("lock",obj);
	}
	
	public void setMultiSelect(Object obj) {
		SetExtValue("multiSelect",obj);
	}
}
